package com.advert.boot.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 报价单维修详情 -请求体
 */
@Data
@Schema
public class QuotationRepairDetailDTO implements Serializable {
    @Schema(description = "规格型号")
//    @NotBlank(message = "规格型号不能为空")
    private String specification;

    @Schema(description = "维修内容")
//    @NotBlank(message = "维修内容不能为空")
    private String repairContent;

    @Schema(description = "工时费")
    private BigDecimal laborCost;

    @Schema(description = "数量")
    private int quantity;

    @Schema(description = "单价")
    private BigDecimal price;

    @Schema(description = "单位")
//    @NotBlank(message = "单位不能为空")
    private String unit;

    @Schema(description = "金额")
    private BigDecimal amountMoney;

    @Schema(description = "附件信息")
//    @NotBlank(message = "附件信息不能为空")
    private String attachmentInfo;

    @Schema(description = "备注")
    private String remarks;
}
